<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title></title>
	<link rel="stylesheet" href="__PUBLIC__css/admin_reset.css">
	<link rel="stylesheet" href="__PUBLIC__css/public.css">
</head>
<body>
<div class="public-header-warrp">
	<div class="public-header" style="background: -webkit-gradient(linear, 0 0, 0 100%, from(#7bbfea), to(#94D6EA));">
        <div style="color: white"><img src="__PUBLIC__images/cms_logo.png" style="width: 12%;margin-left: 10px;margin-top: 3px">中国领先的啥也不能干CMS<div style="float: right;margin-top: 30px;margin-right: 20px;"><a href="{:url('admin/index/adminLogout')}" style="color: white">安全登出</a></div></div>

        <div class="clearfix"></div>
	</div>
</div>
<div class="clearfix"></div>
<!-- 内容展示 -->
<div class="public-ifame mt20">
	<div class="content">
		<div class="clearfix"></div>
		<!-- 左侧导航栏 -->
		<div class="public-ifame-leftnav">
			<div class="public-title-warrp">
				<div class="public-ifame-title ">
					<a href="">首页</a>
				</div>
			</div>
			<ul class="left-nav-list">
				<!--<li class="public-ifame-item">
					<a href="javascript:;">系统管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li class="active"><a href="系统管理/config.html" target="content">网站配置</a></li>
							<li><a href="系统管理/admin_music.html" target="content">背景音乐管理</a></li>
							<li><a href="系统管理/admin_cardTemplate.html" target="content">名片模板管理</a></li>
							<li><a href="系统管理/index_tj.html" target="content">首页推荐导航</a></li>
						</ul>
					</div>
				</li>-->
				<li class="public-ifame-item">
					<a href="javascript:;">商品管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li><a href="{:url('admin/Goods/goodsList')}" target="content">商品列表</a></li>
						</ul>
					</div>
				</li>
				<li class="public-ifame-item">
					<a href="javascript:;">推荐管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li><a href="{:url('admin/Position/positionList')}" target="content">推荐位管理</a><!--|<a href="{:url('admin/Position/positionAdd')}" target="content">添加</a>--></li>
							<li><a href="{:url('admin/Goods/goodsList')}" target="content">分类管理</a></li>
						</ul>
					</div>
				</li>
				<li class="public-ifame-item">
					<a href="javascript:;">管理员管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li><a href="{:url('admin/Index/adminManegerList')}" target="content">管理员管理</a></li>
							<li><a href="{:url('admin/Codes/codeList')}" target="content">注册码管理</a></li>
						</ul>
					</div>
				</li>
			</ul>
		</div>
		<!-- 右侧内容展示部分 -->
		<div class="public-ifame-content">
		<iframe name="content" src="{:url('admin/Content/adminMain')}" frameborder="0" id="mainframe" scrolling="yes" marginheight="0" marginwidth="0" width="100%" style="height: 760px;width: 106%;"></iframe>
		</div>
	</div>
	<div style="background-color: #00ACED">

	</div>
</div>
<script src="__PUBLIC__js/jquery-1.11.1.min.js"></script>
<script>
$().ready(function(){
	var item = $(".public-ifame-item");

	for(var i=0; i < item.length; i++){
		$(item[i]).on('click',function(){
			$(".ifame-item-sub").hide();
			if($(this.lastElementChild).css('display') == 'block'){
				$(this.lastElementChild).hide();
				$(".ifame-item-sub li").removeClass("active");
			}else{
				$(this.lastElementChild).show();
				$(".ifame-item-sub li").on('click',function(){
					$(".ifame-item-sub li").removeClass("active");
					$(this).addClass("active");
				});
			}
		});
	}
});
</script>
</body>
</html>